package ooday01;

import java.awt.*;

/**汽车类*/
public class Car {
        String brand;
        String color;
        double price;
    Car(){

    }
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void start(){
        System.out.println(brand+"的，"+color+"的，"+price+"的车跑启动了");
    }
    void run(){
        System.out.println(brand+"的，"+color+"的，"+price+"的车跑起来了");
    }
    void stop(){
        System.out.println(brand+"的，"+color+"的，"+price+"的车跑停止了");
    }
}
